﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="userLeaveWords.aspx.cs" Inherits="WebApp.admin.user.userLeaveWords" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>阳澄湖牌 </title>
    <link href="../css/skin.css" rel="stylesheet" type="text/css" />
</head>
<body class="body">
    <form id="form1" runat="server">
      <table Width="100%" border="0" cellpadding="0" cellspacing="4" >
    <tr>
      <td width="4%"><img height="22" alt="SEARCH" src="../images/icon_search.gif" width="26" border="0" /></td>
      <td width="36%" align="left">类别:
      <asp:DropDownList ID="msg_type" runat="server">
            <asp:ListItem Value="0">请选择...</asp:ListItem>
        </asp:DropDownList>
留言标题:
<input name="keyname" id="keyname" runat="server" />
    </td>
     <td width="8%" align="left">处理状态：
     </td>
     <td width="10%" align="left">
     <asp:DropDownList ID="ddlStates" runat="server">
       <asp:ListItem Text="未处理" Value="0"></asp:ListItem>
         <asp:ListItem Text="已处理" Value="1"></asp:ListItem>
     </asp:DropDownList>
     </td>        <td>
<asp:ImageButton ID="ImageButton1" ImageUrl="../images/button04.gif" runat="server" OnClick="ImageButton2_Click" /></td>
      </tr>
  </table>
      <div class="maincontent">
  <asp:GridView ID="GridView1" runat="server" Width="100%" CellPadding="4" ForeColor="#333333" DataKeyNames="msgid" AutoGenerateColumns="False" AllowPaging="True" pagesize="100" BorderStyle="Solid" BorderWidth="1px" OnRowDataBound="GridView1_RowDataBound"
      ShowFooter="false" EmptyDataText="没有数据记录！！" AllowSorting="True" OnSorting="GridView1_Sorting">
        <Columns>

        <asp:BoundField HeaderText="用户名" DataField="memberid" sortexpression="memberid" />
        <asp:HyperLinkField DataNavigateUrlFields="msgid" DataNavigateUrlFormatString="member_msg_add.aspx?mid={0}" HeaderText="留言标题" ItemStyle-Width="150px" DataTextField="title" />
         <asp:BoundField HeaderText="联系电话" DataField="telphone" sortexpression="telphone" />
        <asp:BoundField HeaderText="留言内容" DataField="content" sortexpression="content" ItemStyle-Width="350px" />
        <asp:BoundField HeaderText="类别" DataField="msgtypeid" sortexpression="msgtypeid" />
        <asp:BoundField HeaderText="留言时间" DataField="updatetime" sortexpression="updatetime" ItemStyle-Width="120px"  />
        <asp:BoundField HeaderText="处理状态" DataField="states" sortexpression="states" />
        <asp:BoundField HeaderText="处理备注" DataField="replay" sortexpression="replay" />
        <asp:BoundField HeaderText="处理人" DataField="AdminUser" sortexpression="AdminUser" />        
        <asp:TemplateField ShowHeader="False" HeaderText="操作" Visible="true">
             <ItemTemplate>
               <a href="userLeaveWordsEdit.aspx?mid=<%# Eval("msgid") %>" title="编辑">[编辑]</a>
             
             </ItemTemplate>
        </asp:TemplateField>
        </Columns>
             <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />             
             <PagerStyle BackColor="White" ForeColor="#333333" HorizontalAlign="Center" Font-Bold="True" Font-Size=30px />
             <HeaderStyle BackColor="#E2E7EB" Font-Bold="True" ForeColor="Black" HorizontalAlign="Left" />
             <AlternatingRowStyle BackColor="White" />
             <PagerSettings Visible="False" />
        </asp:GridView>
     <table Width="100%" border="0" cellspacing="0" cellpadding="0">
       <tr bgcolor="#E9ECEF">
       <td><asp:ImageButton ID="ImageButton2" ImageUrl="../images/button09.gif" Visible="false" runat="server" OnClick="ImageButton1_Click" /></td>
         <td height="25" align="right"><asp:Label ID="LblRecordCount" runat="server"></asp:Label>
            <asp:Label ID="LblCurrentIndex" runat="server"></asp:Label>
            <asp:Label ID="LblPageCount" runat="server"></asp:Label>
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:LinkButton ID="btnFirst" CommandArgument="first" OnClick="PagerButtonClick" runat="server">首 页</asp:LinkButton> 
            <asp:LinkButton ID="btnPrev" CommandArgument="prev" OnClick="PagerButtonClick" runat="server">上一页</asp:LinkButton> 
            <asp:LinkButton ID="btnNext" CommandArgument="next" OnClick="PagerButtonClick" runat="server">下一页</asp:LinkButton> 
            <asp:LinkButton ID="btnLast" CommandArgument="last" OnClick="PagerButtonClick" runat="server">尾 页</asp:LinkButton> 
             跳转到第<asp:DropDownList ID="ddlCurrentPage" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"> </asp:DropDownList>页&nbsp;
         </td>
       </tr>
    </table>
    </div>
    </form>
</body>
</html>
